#ifndef __PLAYER__HH__
#define __PLAYER__HH__

#include <iostream>

#include <Header.hh>
#include <DrawableGameComponent.hh>

class Player : public DrawableGameComponent
{
public:
    Player(Window &);
    virtual ~Player();
    virtual void    Initialize(sf::Sprite &,sf::Vector2f &);
    void            LoadContent(void);
    void            UnloadContent(void);
    virtual void    Draw(Time);
    virtual void    Update(Time);

public:
    void            MoveUp();
    void            MoveDown();
    void            MoveRight();
    void            MoveLeft();
    const sf::Vector2f  &GetPosition(void);
    const sf::Vector2f  &GetSize(void);

private:
    sf::Sprite      _Sprite;
    sf::Vector2f    _Position;

    Window          &_Window;
};

#endif // __PLAYER__HH__
